/* 重置样式 */
body,
ul,
dl,
dt,
dd,
p,
ol,
h1,
h2,
h3,
h4,
menu,
h5,
h6,
fieldset,
legend,
figure,
figcaption,
input {
    margin: 0;
    padding: 0;
}

ul,
li,
ol {
    list-style: none;
}

img,
fieldset {
    border: 0;
}

img {
    display: block;
}

a {
    text-decoration: none;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 100;
}

body {
    font-family: "Hiragino Sans GB";
    width: 100%;
}

input,
a {
    outline: none;
}

/* ---------头部------------- */
header {
    width: 990px;
    height: 35px;
    margin: auto;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
}

header>ul {
    display: flex;
    font-size: 12px;
}

header>ul>li {
    line-height: 35px;
    padding: 0 6px;

}

header>ul>li>a {
    color: #6c6c6c;

}

header>ul>li>a:hover {
    color: red;
}

/* -----------logo---------- */
nav {
    width: 990px;
    height: 43px;
    margin: auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

nav>p {
    width: 110px;
    height: 58px;
    background: url(https://img.alicdn.com/tfs/TB1R5fsgyDsXe8jSZR0XXXK6FXa-281-80.jpg) no-repeat center/220px;
    background-position: -3px 2px;
}

nav>h3 {
    width: 88px;
    font-size: 22px;
    margin-left: 6px;
    font-weight: 400;
}

/* ----------注册区----------- */
main {
    width: 990px;
    height: 408px;
    padding-top: 50px;
    margin: auto;
}

main>div {
    width: 380px;
    height: 305px;
    margin: auto;
    padding-top: 83px;
    position: relative;
}

#register-btn {
    width: 320px;
    height: 36px;
    background: linear-gradient(90deg, #f90, #ff5000);
    color: #fff;
    border: 0;
    margin: 50px 0 0 45px;
    opacity: .5;
}

main>div>div:nth-of-type(3) {
    width: 320px;
    height: 39px;
    font-size: 12px;
    margin: 40px 0 0 60px;
}

main>div>div:nth-of-type(3) a {
    color: red;
}

main>div>div:nth-of-type(1),
main>div>div:nth-of-type(2) {
    display: flex;
}

main>div>div:nth-of-type(1) p {
    width: 320px;
    height: 36px;
    border: 1px solid #9c9c9c;
    margin: 20px 0 0 45px;
    display: flex;
    align-items: center;
}

main>div>div>span {
    display: inline-block;
    width: 100px;
    height: 36px;
    margin-top: 20px;
    line-height: 36px;
    font-size: 14px;
    text-align: right;
    position: absolute;
    right: 350px;
}

main>div>div input {
    border: 0;
    text-indent: 1em;
}

main>div>div:nth-of-type(1) p span {
    display: inline-block;
    width: 127px;
    height: 36px;
    border-right: 1px solid #9c9c9c;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
}

main>div>div:nth-of-type(2) p {
    width: 320px;
    height: 36px;
    border: 1px solid #9c9c9c;
    margin: 20px 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #ff5000;
}

main>div>div:nth-of-type(2) p span {
    padding-right: 10px;
    cursor: pointer;
}

main>div>p {
    text-align: right;
    color: red;
    padding-right: 30px;
    padding-top: 10px;
    font-size: 12px;
}

/* ---------尾部------------- */
footer {
    width: 990px;
    height: 113px;
    margin: auto;
}

footer>p a:hover {
    color: red;
}

footer>p a {
    color: #6c6c6c;
}

footer>p b {
    color: #9c9c9c;

}

footer>p:nth-child(1) {
    width: 990px;
    height: 20px;
    padding: 7px 0 9px;
    font-size: 12px;
    color: #6c6c6c;
    border-top: 1px solid #9c9c9c;
    border-bottom: 1px solid #9c9c9c;
    display: flex;
    align-items: center;
}

footer>p:nth-child(1) a {
    margin: 0 4px;
}

footer>p:nth-child(2) {
    width: 990px;
    height: 18px;
    padding: 8px 0 8px;
    color: #6c6c6c;
    font-size: 12px;
}

footer>p:nth-child(3) {
    width: 990px;
    height: 18px;
    padding: 0 0 8px;
    color: #6c6c6c;
    font-size: 12px;
}